-- GENERATED SPELL FOR [Wailing Winds] --


function spell0_30450(pUnit, Event) --@Squall,n/a--
pUnit:FullCastSpellOnTarget(57488,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30450', 2272, 1)
end

function Sorts_30450(pUnit, Event)
local choix_sorts_30450 = math.random(0, 0)
if choix_sorts_30450 == 0 then
pUnit:RegisterEvent('spell0_30450', 1, 1)
end
end

function mob30450_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30450', math.random(1500, 3000), 1)
end

function mob30450_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30450_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30450_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30450, 1, 'mob30450_Action')
RegisterUnitEvent(30450, 2, 'mob30450_Leave')
RegisterUnitEvent(30450, 3, 'mob30450_Kill')
RegisterUnitEvent(30450, 4, 'mob30450_Die')
